package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementInsteadPayMapper;
import com.base.po.replacement.ReplacementInsteadPay;
import com.base.po.replacement.ReplacementInsteadPayExample;
import com.base.service.ReplacementInsteadPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementInsteadPayService")
public class ReplacementInsteadPayServiceImpl implements ReplacementInsteadPayService {
	
	@Autowired
	private ReplacementInsteadPayMapper replacementInsteadPayMapper;


	@Override
	public int countByExample(ReplacementInsteadPayExample example) {
		return replacementInsteadPayMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementInsteadPayExample example) {
		return replacementInsteadPayMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return replacementInsteadPayMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementInsteadPay record) {
		return replacementInsteadPayMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementInsteadPay record) {
		return replacementInsteadPayMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementInsteadPay> selectByExample(ReplacementInsteadPayExample example) {
		return replacementInsteadPayMapper.selectByExample(example);
	}

	@Override
	public ReplacementInsteadPay selectByPrimaryKey(String id) {
		return replacementInsteadPayMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementInsteadPay selectByOrderNo(String orderno) {
		return replacementInsteadPayMapper.selectByOrderNo(orderno);
	}

	@Override
	public ReplacementInsteadPay selectByYptOrderNo(String yptorderno) {
		return replacementInsteadPayMapper.selectByYptOrderNo(yptorderno);
	}

	@Override
	public int updateByExampleSelective(ReplacementInsteadPay record, ReplacementInsteadPayExample example) {
		return replacementInsteadPayMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementInsteadPay record, ReplacementInsteadPayExample example) {
		return replacementInsteadPayMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementInsteadPay record) {
		return replacementInsteadPayMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementInsteadPay record) {
		return replacementInsteadPayMapper.updateByPrimaryKey(record);
	}
}
